package org.ly817.my.spring.core.ioc.bean.enhance;

import org.ly817.my.spring.core.ioc.factory.BeanFactory;

/**
 * 让bean获取所在容器的引用，用于回调
 * 源码解释：Interface to be implemented by beans that wish to be aware of their owning
 *
 * Created by LuoYu on 2018/5/3.
 */
public interface BeanFactoryAware {
    void setBeanFactory(BeanFactory beanFactory) throws Exception;
}
